/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package somtsp;

/**
 *
 * @author Rex Boris
 */
//====================================================================
// Tsp_Param.java
// Travelling Salesman Problem: Display Module
//====================================================================

public class Tsp_Param {
  int CITY_NUM, N;
  double x[][];

  Tsp_Param(int cn) {
    CITY_NUM = cn; N = 2;
    x_random_set();
  }

  //------------------------------------------------------------------
  public void x_random_set() {
    x = new double [CITY_NUM][N];
    for (int j=0; j < CITY_NUM; j++)
      for (int i=0; i < N; i++)
        x[j][i] = Math.random();
  }
}



